<?php
/**
 * Created by JetBrains PhpStorm.
 * User: Bezdelnick
 * Date: 19.03.13
 * Time: 12:56
 * To change this template use File | Settings | File Templates.
 */
class OrmMapping
{
    private $fieldName;
    private $columnName;
    private $type;

    function __construct($fieldName, $columnName, $type = "string")
    {
        $this->fieldName = $fieldName;
        $this->columnName = $columnName;
        $this->type = $type;
    }

    public function setFieldName($fieldName)
    {
        $this->fieldName = $fieldName;
    }

    public function getFieldName()
    {
        return $this->fieldName;
    }

    public function setColumnName($columnName)
    {
        $this->columnName = $columnName;
    }

    public function getColumnName()
    {
        return $this->columnName;
    }

    public function setType($type)
    {
        $this->type = $type;
    }

    public function getType()
    {
        return $this->type;
    }
}
